package com.fqgj.sentry.policy.domain.rule;

import java.io.Serializable;

/**
 * Created by liupengpeng on 2017/7/28.
 */
public class RueInfo implements Serializable {
    private Long id;
    /**
     * 规则名称
     */
    private String name;
    /**
     * 规则编码
     */
    private String code;
    /**
     * 规则版本
     */
    private Integer version;

    /**
     * 是否启用
     */
    private Integer isActive;

    public Long getId() {
        return id;
    }

    public RueInfo setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public RueInfo setName(String name) {
        this.name = name;
        return this;
    }

    public String getCode() {
        return code;
    }

    public RueInfo setCode(String code) {
        this.code = code;
        return this;
    }

    public Integer getVersion() {
        return version;
    }

    public RueInfo setVersion(Integer version) {
        this.version = version;
        return this;
    }

    public Integer getIsActive() {
        return isActive;
    }

    public RueInfo setIsActive(Integer isActive) {
        this.isActive = isActive;
        return this;
    }
}